package jmu.cultural_tourism.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import java.io.Serializable;

/**
 * 路径表(Route)实体类
 *
 * @author makejava
 * @since 2025-07-20 20:46:22
 */
public class Route implements Serializable {
    private static final long serialVersionUID = 333981959786001109L;
    /**
     * 旅游路线ID
     */
    private Integer routeId;
    /**
     * 路线内容(存放的是路径点ID，格式为(1,2,3))
     */
    private String routeContent;
    /**
     * 创建用户ID
     */
    private Integer userId;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    public Integer getRouteId() {
        return routeId;
    }

    public void setRouteId(Integer routeId) {
        this.routeId = routeId;
    }

    public String getRouteContent() {
        return routeContent;
    }

    public void setRouteContent(String routeContent) {
        this.routeContent = routeContent;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}